package com.ryan.mms.privilage.dto;

import java.util.Date;

import com.ryan.framework.dto.Dto;

public class MenuItemDto implements Dto{
	private Long id;
	private String menuCode;
	private String menuName;
	private Integer menuType;
	private Long parentMenuId;
	private Long functionId;
	private Integer menuOrder;
	private Integer status;
	private String menuDescription;
	private String menuTips;
	private Integer hasSub;
	private Date createTime;
	private Date lastModifyTime;

	// Constructors

	/** default constructor */
	public MenuItemDto() {
	}

	/** minimal constructor */
	public MenuItemDto(String menuCode, String menuName, Long parentMenuId,
			Integer menuOrder, Integer status) {
		this.menuCode = menuCode;
		this.menuName = menuName;
		this.parentMenuId = parentMenuId;
		this.menuOrder = menuOrder;
		this.status = status;
	}

	/** full constructor */
	public MenuItemDto(String menuCode, String menuName, Integer menuType,
			Long parentMenuId, Long functionId, Integer menuOrder,
			Integer status, String menuDescription, String menuTips,
			Integer hasSub, Date createTime, Date lastModifyTime) {
		this.menuCode = menuCode;
		this.menuName = menuName;
		this.menuType = menuType;
		this.parentMenuId = parentMenuId;
		this.functionId = functionId;
		this.menuOrder = menuOrder;
		this.status = status;
		this.menuDescription = menuDescription;
		this.menuTips = menuTips;
		this.hasSub = hasSub;
		this.createTime = createTime;
		this.lastModifyTime = lastModifyTime;
	}

	// Property accessors
	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getMenuCode() {
		return this.menuCode;
	}

	public void setMenuCode(String menuCode) {
		this.menuCode = menuCode;
	}

	public String getMenuName() {
		return this.menuName;
	}

	public void setMenuName(String menuName) {
		this.menuName = menuName;
	}

	public Integer getMenuType() {
		return this.menuType;
	}

	public void setMenuType(Integer menuType) {
		this.menuType = menuType;
	}

	public Long getParentMenuId() {
		return this.parentMenuId;
	}

	public void setParentMenuId(Long parentMenuId) {
		this.parentMenuId = parentMenuId;
	}

	public Long getFunctionId() {
		return this.functionId;
	}

	public void setFunctionId(Long functionId) {
		this.functionId = functionId;
	}

	public Integer getMenuOrder() {
		return this.menuOrder;
	}

	public void setMenuOrder(Integer menuOrder) {
		this.menuOrder = menuOrder;
	}

	public Integer getStatus() {
		return this.status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getMenuDescription() {
		return this.menuDescription;
	}

	public void setMenuDescription(String menuDescription) {
		this.menuDescription = menuDescription;
	}

	public String getMenuTips() {
		return this.menuTips;
	}

	public void setMenuTips(String menuTips) {
		this.menuTips = menuTips;
	}

	public Integer getHasSub() {
		return this.hasSub;
	}

	public void setHasSub(Integer hasSub) {
		this.hasSub = hasSub;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getLastModifyTime() {
		return this.lastModifyTime;
	}

	public void setLastModifyTime(Date lastModifyTime) {
		this.lastModifyTime = lastModifyTime;
	}

}